<% layout('boilerplate') -%>
<link rel="stylesheet" href="<%= linkPath %>/css/about.css" />
<link rel="stylesheet" href="<%= linkPath %>/css/aboutresponsive.css" />
<!-- 引入样式 -->
<link rel="stylesheet" href="https://cdn.bootcss.com/element-ui/2.3.6/theme-chalk/index.css">

<script type="text/javascript" src="/lib/jq.lazyload.min.js"></script>

<script src="https://cdn.bootcss.com/vue/2.5.11/vue.min.js"></script>
<!-- 引入组件库 -->
<script src="https://cdn.bootcss.com/element-ui/2.3.6/index.js"></script>
<!--<script type="text/javascript"-->
        <!--src="http://webapi.amap.com/maps?v=1.4.5&key=9ffe42e17300a715aebd32d0ba66b55a">-->
<!--</script>-->
<style>
    .el-message {
        min-width: 250px;
    }
</style>
<div class="about ">
    <div class="about-service">
        <div class="container">
            <div class="row hidden-xs">
                <img src="<%= linkPath%>/images/about/service.png" alt="">
            </div>
            <div class="row service-text" style="visibility: hidden">
                <div class="col-sm-6 hidden-xs">
                    <div class="col-sm-6 wow fadeInLeft service-pic-one" data-wow-duration="1000ms" data-wow-delay="0">
                        <img src="<%= linkPath%>/images/about/about2.png" alt="">
                    </div>
                    <div class="col-sm-6 wow fadeInLeft service-pic-two" data-wow-duration="1400ms" data-wow-delay="0">
                        <img src="<%= linkPath%>/images/about/about1.png" alt="">
                    </div>
                </div>
                <div class="col-sm-6 col-xs-12 text-box" style=" color:#fff;">
                    <h2 class="wow fadeInDown" data-wow-duration="1400ms" data-wow-delay="0">一站式海外试管婴儿服务</h2>
                    <p style="text-align: justify;" class="wow fadeInDown"  data-wow-duration="1000ms" data-wow-delay="0">
                        有求必孕是颂宝科技旗下专业的辅助生殖平台，旨在为不同的需求者提供定制化一站式的试管婴儿解决方案。
                        平台设有人工智能问诊，在线生殖专家咨询，试管分期和保险，全球生殖中心预约等服务。
                        有求必孕与全球<b>数十家</b>海外专业的生殖医学中心合作，目前主要提供美国辅助生殖，<b>泰国</b>、<b>日本</b>、<b>马来西亚</b>等国家第三代试管婴儿服务。
                    </p>
                </div>
            </div>
        </div>
    </div>
    <div class="about-enjoy">
        <div class="container">
            <div class="row hidden-xs">
                <img style="float: right;" src="<%= linkPath%>/images/about/enjoy.png" alt="">
            </div>
            <div class="row">
                <div class="col-sm-6 col-xs-12 text-box">
                    <h2 class="wow fadeInDown"  data-wow-duration="1400ms" data-wow-delay="0" style="color:#666;">智能化云计算技术研发</h2>
                    <p  class="wow fadeInDown"  data-wow-duration="1000ms" data-wow-delay="0" style="color:#999;text-align: justify;">
                        有求必孕选择了试管婴儿领域成功率高的专业医生、专业的律师、著名的供卵管理和代孕管理机构。
                        结合云计算分析、智能诊断、医学专家咨询问诊，为患者<b>量身定制</b>试管婴儿解决方案，
                        推荐最适合的医院及医生团队，帮助患者提高辅助生殖的<b>成功率</b>，节约就医成本，为家庭圆梦。
                    </p>
                </div>
                <div class="col-sm-6 col-xs-12" style="padding: 0;">
                    <div class="col-xs-6 wow fadeInRight enjoy-pic" data-wow-duration="600ms" data-wow-delay="0">
                        <img src="<%= linkPath%>/images/about/pic01.png" alt="">
                    </div>
                    <div class="col-xs-6 wow fadeInRight enjoy-pic" data-wow-duration="1000ms" data-wow-delay="0">
                        <img src="<%= linkPath%>/images/about/pic02.png" alt="">
                    </div>
                </div>
            </div>
        </div>

    </div>
    <div class="about-introduce hidden-xs ">
        <div class="container" style="position: relative;height: 100%">
            <div class="pull-left col-xs-12 introduce-left">
                <div class="int-left-top">
                    <h2 class="wow fadeInDown"  data-wow-duration="1000ms" data-wow-delay="0" class="mb15">让患者轻松受孕</h2>
                    <p class="wow fadeInDown t-desc"  data-wow-duration="1400ms" data-wow-delay="0" style="color:#eee">我们的目标是让患者轻松受孕，在海外获得更好的诊疗<b>资源和服务</b>，努力为更多家庭带来<b>希望</b>。</p>
                </div>
                <div class="int-left-bottom">
                    <p class="wow fadeInDown"  data-wow-duration="2000ms" data-wow-delay="0" class="mb15 text-right"><b>打破传统</b></p>
                    <p class="wow fadeInDown desc mt15"  data-wow-duration="2000ms" data-wow-delay="0" style="color:#eee">有求必孕的一站式管家式服务打破了传统中介服务的利益链。</p>
                </div>
            </div>
            <div class="col-sm-4 col-xs-8 mid-box">
                <div class="col-sm-12 mid-right">
                    <div class="line">
                        <i class="point"></i>
                    </div>
                    <img class="wow fadeIn"  data-wow-duration="1600ms" data-wow-delay="0" src="<%= linkPath%>/images/about/about3.png" alt="">
                </div>
                <div class="col-sm-12 mid-right">
                    <div class="line">
                        <i class="point"></i>
                    </div>
                    <img class="wow fadeIn"  data-wow-duration="1800ms" data-wow-delay="0" src="<%= linkPath%>/images/about/about4.png" alt="">
                </div>
                <div class="col-sm-12 mid-left">
                    <div class="line">
                        <i class="point"></i>
                    </div>
                    <img class="wow fadeIn"  data-wow-duration="2000ms" data-wow-delay="0" src="<%= linkPath%>/images/about/about5.png" alt="">
                </div>
            </div>
            <div class="pull-right col-xs-4 introduce-right">
               <div class="int-right-top int-right">
                   <b class="wow fadeInDown"  data-wow-duration="1600ms" data-wow-delay="0">全新服务模式</b>
                   <p class="wow fadeInDown mt15 desc"  data-wow-duration="1600ms" data-wow-delay="0" style="color:#eee">全新服务模式提高了第三方服务质量，以专业的业务能力，高度的社会责任感，合理的收费，人性化的服务，为客户提供全程无忧的服务。</p>
               </div>
                <div class="int-right-bottom int-right">
                    <b class="wow fadeInDown"  data-wow-duration="1800ms" data-wow-delay="0">免费全程管理</b>
                    <p style="color:#eee" class="wow fadeInDown mt15 desc"  data-wow-duration="1800ms" data-wow-delay="0">一方面提供就医、供卵、代孕、法律全程管理，另一方面只代表客户利益，不收取客户任何中介费。</p>
                </div>
            </div>
        </div>
    </div>
    <div class="about-introduce-wap hidden-md hidden-sm hidden-lg">
        <div class="container " style="position: relative;height: 100%">
            <div class="pull-left col-xs-12 introduce-left">
                <div class="int-left-top">
                    <h2 class="wow fadeInDown"  data-wow-duration="1000ms" data-wow-delay="0" class="mb15">让患者轻松受孕</h2>
                    <p class="wow fadeInDown t-desc"  data-wow-duration="1400ms" data-wow-delay="0" style="color:#eee">我们的目标是让患者轻松受孕，在海外获得更好的诊疗<b>资源和服务</b>，努力为更多家庭带来<b>希望</b>。</p>
                </div>
            </div>
            <div class="pull-left col-sm-4 col-xs-12 mid-box">
                    <div class="row" style="padding: 0;">
                        <div class="mid-right">
                            <img class="wow fadeIn"  data-wow-duration="1600ms" data-wow-delay="0" src="<%= linkPath%>/images/about/about3.png" alt="">
                            <div class="int-right-top int-right">
                                <b class="wow fadeInDown"  data-wow-duration="1600ms" data-wow-delay="0">全新服务模式</b>
                                <p class="wow fadeInDown mt15 desc"  data-wow-duration="1600ms" data-wow-delay="0" style="color:#eee">全新服务模式提高了第三方服务质量，以专业的业务能力，高度的社会责任感，合理的收费，人性化的服务，为客户提供全程无忧的服务。</p>
                            </div>
                        </div>
                        <div class="mid-right">
                            <img class="wow fadeIn"  data-wow-duration="1800ms" data-wow-delay="0" src="<%= linkPath%>/images/about/about4.png" alt="">
                            <div class="int-right-bottom int-right">
                                <b class="wow fadeInDown"  data-wow-duration="1800ms" data-wow-delay="0">免费全程管理</b>
                                <p style="color:#eee" class="wow fadeInDown mt15 desc"  data-wow-duration="1800ms" data-wow-delay="0">一方面提供就医、供卵、代孕、法律全程管理，另一方面只代表客户利益，不收取客户任何中介费。</p>
                            </div>
                        </div>
                        <div class="mid-right">
                            <img class="wow fadeIn"  data-wow-duration="2000ms" data-wow-delay="0" src="<%= linkPath%>/images/about/about5.png" alt="">
                            <div class="int-left-bottom int-right">
                                <p class="wow fadeInDown"  data-wow-duration="2000ms" data-wow-delay="0" class="mb15 text-right"><b>打破传统</b></p>
                                <p class="wow fadeInDown desc mt15"  data-wow-duration="2000ms" data-wow-delay="0" style="color:#eee">有求必孕的一站式管家式服务打破了传统中介服务的利益链。</p>
                            </div>
                        </div>
                    </div>
                </div>

        </div>
    </div>
    <div class="about-booking">
        <div class="container">
            <div class="row hidden-xs">
                <img style="float: right;" src="<%= linkPath%>/images/about/booking.png" alt="">
            </div>
            <div class="row" style="position:relative;padding: 0;">
                <div class="col-sm-6 hidden-xs">
                    <div class="col-sm-6 wow fadeInLeft booking-pic-one" data-wow-duration="1000ms" data-wow-delay="0">
                        <img src="<%= linkPath%>/images/about/about7.png" alt="">
                    </div>
                    <div class="col-sm-6 wow fadeInLeft booking-pic-two" data-wow-duration="600ms" data-wow-delay="0">
                        <img src="<%= linkPath%>/images/about/about6.png" alt="">
                    </div>
                </div>
                <div class="col-sm-6 col-xs-12 wow fadeInDown booking-text" data-wow-duration="1200ms" data-wow-delay="0">
                    <h2 class="wow fadeInDown"  data-wow-duration="1000ms" data-wow-delay="0">预约来访</h2>
                    <p class="wow fadeInDown"  data-wow-duration="1400ms" data-wow-delay="0" style="text-align: justify;color:#999;">有求必孕选择了试管婴儿领域成功率高的专业医生、专业的律师、著名的供卵管理和代孕管理机构。结合云计算技术研发的智能化帮助不孕不育群体提升辅助生殖成功率。</p>
                    <div class="col-xs-12 input-box" id="form">
                        <input v-model.trim="phone" class="booking-input" type="text" placeholder="输入手机号">
                        <button class="submit-btn" @click="openMsg">
                            立即提交
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="about-footer">
        <div class="container-fluid">
            <div class="row" style="padding: 0;">
                <div class="col-sm-6 hidden-xs map-box">
                    <div id="map-container" style="height:100%;"></div>
                </div>
                <div class="col-sm-6 col-xs-12 footer-right">
                    <p>上海颂宝信息科技有限公司</p>
                    <h3 class="adress">上海闵行区延安西路3062弄18号华菱大厦</h3>
                    <p class="phone">
                        <img src="<%= linkPath%>/images/about/phone.png" alt="">
                        400-600-3011</p>
                    <div class="wechat">
                        <img src="<%= linkPath%>/images/about/wechat.jpg" alt="">
                        <div class="wechat-text">
                            <span>有求必孕</span>
                            <p>扫描关注公众号</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    $(function () {
        new WOW({animateClass: 'animated'}).init();

        $('img.lazy').lazyload(
            {
                threshold: 200,//滚动条在离目标位置还有200的高度时就开始加载图片,可以做到不让用户察觉
                effect: 'fadeIn',//show fadeIn slideDown
                //placeholder: '',//设置加载中的占位图片路径，如image.load.gif，个人建议不设置，可以通过css设置背景图片加提前设置src=reload.gif的方式，来达到图片正在加载中的效果
            }
        );

        var vm = new Vue({
            el:"#form",
            data:function () {
                return {
                    phone:''
                }
            },
            methods:{
                openMsg:function () {
                    if(this.phone.length != 11 || !/^[0-9]*$/.test(this.phone)){
                        this.$message.error('请输入正确的电话号码');
                        return;
                    }
                    location.href = '/about/form?p='+this.phone;
                }
            }
        })


         if($(window).width() >= 700){


             init = function () {

                 //地图初始化时，在地图上添加一个marker标记,鼠标点击marker可弹出自定义的信息窗体
                 var map = new AMap.Map("map-container", {
                     resizeEnable: true,
                     center: [121.380277, 31.189759],
                     zoom: 16
                 });
                 addMarker();

                 //添加marker标记
                 function addMarker() {
                     map.clearMap();
                     var marker = new AMap.Marker({
                         map: map,
                         position: [121.380277, 31.189759]
                     });
                 }

             }

             function loadScript() {

                 var script = document.createElement("script");

                 script.type = "text/javascript";

                 script.src = "https://webapi.amap.com/maps?v=1.3&key=9ffe42e17300a715aebd32d0ba66b55a&callback=init";

                 document.body.appendChild(script);

             }

             window.onreadystatechange  = loadScript();
         }
    })
</script>
